package com.starry.push.netty.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author WuChao
 * @version 1.0
 * @date 2020/11/3 14:55
 */
@Data
@Builder
public class Token implements Serializable {

    private String token;
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",  timezone = "GMT+8")
    private LocalDateTime expireTime;

}
